package com.lp.biz.train.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lp.common.entity.CommonMember;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

import static com.lp.common.constant.CommonConstant.*;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-05-23 22:50:29
 */
@Data
public class ClassDetail {

    private Integer id;

    private String name;

    @JsonFormat(timezone = TIMEZONE, pattern = DATE_TIME)
    private LocalDateTime createAt;

    @JsonFormat(timezone = TIMEZONE, pattern = DATE)
    private LocalDate startAt;

    @JsonFormat(timezone = TIMEZONE, pattern = DATE)
    private LocalDate endAt;

    private CommonMember classTeacher;

    private List<CommonMember> assistant;

    private CommonMember trainer;

    private List<CommonMember> mentor;

    private Integer status;

    private String trainUrl;
}
